const Sequelize = require('sequelize')
const sequelize = require('../db/sequelize')

const news = sequelize.define(
  'news',
  {
    id: {
      type: Sequelize.INTEGER(11),
      autoIncrement: true,
      primaryKey: true,
    },
    title: Sequelize.STRING(255),
  },
  {
    timestamps: false,
  }
)
module.exports = news
